<%--
  Created by IntelliJ IDEA.
  User: lys
  Date: 2020/8/20
  Time: 23:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
    <title>添加分类</title>
    <link rel="stylesheet" type="text/css" href="css\create.css">
    <script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
</head>
<body>
<div class="container">
    <fieldset>
        <legend>新增分类</legend>
        <form action="management?method=ccreate" method="post"
              autocomplete="off">
            <ul class="ulform">
                <li>
                    <span>二级分类名称</span>
                    <span id="errPname"></span>
                    <input id="pname" name="second_cname" />
                </li>
                <li>
                    <span>一级分类</span>
                    <span id="errCategory"></span>
                    <select id="category" name="first_cname">
                        <option value="-1" selected="selected" disabled="disabled">请选择分类</option>
                        <option value="国画">国画</option>
                        <option value="西洋画">西洋画</option>
                        <option value="书法">书法</option>
                        <option value="雕塑">雕塑</option>
                        <option value="紫砂陶瓷">紫砂陶瓷</option>
                        <option value="玉翠珠宝">玉翠珠宝</option>
                    </select>
                </li>
                <li style="text-align: center;">
                    <button type="submit" class="btn-button">提交表单</button>
                </li>
            </ul>
        </form>
    </fieldset>
</div>
</body>
</html>
